import zoo.*;
public class zootest {
    public static void main(String[] args) {
        ZoneArea a1=new ZoneArea(500,"北");
        ZoneArea a2=new ZoneArea(700,"南");
        ReptileZone z1 = new ReptileZone("鳞片");
        MammalianZone z2 =new MammalianZone("真兽亚纲");
        z1.setArea(a1);
        z2.setArea(a2);
        Mammalian m2 =new Mammalian("🐇");
        Mammalian m1 =new Mammalian("🐖");
        for(int i=0;i<2;++i){
            z1.addAnimal(new Reptile("🐍"+i));
        }
        z1.addAnimal(m1);
        z1.ShowAllAnimal();
        z2.addAnimal(m1);
        z2.addAnimal(m2);
        z1.ShowAllAnimal();
        z1.ShowAnimalNumber();
        z2.ShowAllAnimal();
        z2.ShowAnimalNumber();
        z1.findAnimal("🐇");
        z1.findAnimal("🐍1");
    }
}
